package com.entity;

public class Airway {
    private String  startCity ;
    private String  arriveCity ;
    private int frightAmount  ;

    public Airway() {
    }

    public Airway(String startCity, String arriveCity, int frightAmount) {
        this.startCity = startCity;
        this.arriveCity = arriveCity;
        this.frightAmount = frightAmount;
    }

    @Override
    public String toString() {
        return "Airway{" +
                "startCity='" + startCity + '\'' +
                ", arriveCity='" + arriveCity + '\'' +
                ", frightAmount=" + frightAmount +
                '}';
    }

    public int getFrightAmount() {
        return frightAmount;
    }

    public void setFrightAmount(int frightAmount) {
        this.frightAmount = frightAmount;
    }


    public String getStartCity() {
        return startCity;
    }

    public void setStartCity(String startCity) {
        this.startCity = startCity;
    }

    public String getArriveCity() {
        return arriveCity;
    }

    public void setArriveCity(String arriveCity) {
        this.arriveCity = arriveCity;
    }
}
